package com.api.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * (CourseComment)实体类
 *
 * @author makejava
 * @since 2021-09-04 15:00:34
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class CourseComment implements Serializable {
    private static final long serialVersionUID = -53078684567921850L;
    /**
     * 主键
     */
    private Integer id = 0;
    /**
     * 课程id
     */
    private Integer courseId;
    /**
     * 用户id
     */
    private Integer userId;
    private Integer sectionId;
    private Integer lessonId;
    private String userName;
    private Integer parentId;
    private Integer isTop;

    /**
     * 评论
     */
    private String comment;
    /**
     * 点赞数
     */
    private Integer likeCount;
    /**
     * 创建时间
     */
    private String createTime;
    /**
     * 更新时间
     */
    private String updateTime;
    /**
     * 是否删除
     */
    private String isDel;
    private Integer isNotify;
    private Integer lastOperator;
    private Integer status;
    private String type;
    private Integer isReply;

    private CourseCommentFavorite favorites;

}
